'use strict';

var clientUtils = angular.module('clientUtils');

clientUtils.factory('ThemeUtil', ['$http', 'Constant', function($http, Constant){
    return {
        themeMainView:function(code){
            return '/ext/themes/'+ code + '/view/main.html';
        },
        themeCss:function(code){
            return 'themes/'+ code + '/style/theme.css';
        },
        templateCss:function(category, layout){
            var src = 'templates/' + category + '/' + layout + '/res/style/phone.css';
            return src;
        }
    }
}]);
